﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ECMS.AppService.Model.Models
{
    public class AppUserModel : ModelBase
    {
        /// <summary>
        /// 登录帐号
        /// </summary>
        public string LoginName { get; set; }
        /// <summary>
        /// 真实姓名
        /// </summary>
        public string RealName { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string Email { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }
        /// <summary>
        /// 本次登录IP
        /// </summary>
        public string LoginIP { get; set; }
        /// <summary>
        /// 头像
        /// </summary>
        public string HeadImg { get; set; }
        /// <summary>
        /// 验证码
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 身份证号
        /// </summary>
        public string IdCard { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string Mobile { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public bool Sex { get; set; }
        /// <summary>
        /// 备用字段
        /// </summary>
        public string Remark { get; set; }
        /// <summary>
        /// 是否封号
        /// </summary>
        public bool IsLock { get; set; }
        /// <summary>
        /// 封号时间
        /// </summary>
        /// <summary>
        /// 封号时间
        /// </summary>
        public DateTime LockTime { get; set; } =
        new DateTime(1900, 1, 1);
        /// <summary>
        /// 解封时间
        /// </summary>
        public DateTime UnLockTime { get; set; } =
        new DateTime(1900, 1, 1);
        /// <summary>
        /// 生日
        /// </summary>
        public DateTime BirthDay { get; set; } =
        DateTime.Now;
        /// <summary>
        /// 个签
        /// </summary>
        public string Signature { get; set; }
        /// <summary>
        /// APP版本
        /// </summary>
        public string Version { get; set; }
        /// <summary>
        /// 最后登录时间
        /// </summary>
        public DateTime LastLoginTime { get; set; } =
        DateTime.Now;
        /// <summary>
        /// 最后登录时间
        /// </summary>
        public DateTime LastChangeTime { get; set; } =
        DateTime.Now;
        
    }
}
